package com.kb.design.mapper.postgreSQL;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kb.design.dto.CustomUserDTO;
import com.kb.design.entity.CustomUser;
import com.kb.design.entity.UserSecurity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (CustomUser)表数据库访问层
 *
 * @author makejava
 * @since 2023-08-22 10:56:59
 */
@Mapper
public interface UserSecurityMapper extends BaseMapper<UserSecurity> {
    @Select("SELECT * FROM user_security  WHERE parent_code = #{projectCode}")
    List<UserSecurity> queryUserSecurity(String projectCode);
}

